# Maintainer: Raymond Hackley <RaymondHackley0689@protonmail.com>
pkgname=mint-themes
pkgver=1.9.6
pkgrel=2
pkgdesc="Mint themes for GNOME/GTK desktops"
options="!check" # It is a theme
url="https://github.com/linuxmint/mint-themes"
arch="noarch"
license="GPL-3.0-or-later"
makedepends="python3 sassc"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/mint-themes/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	make
}

package() {
	rm -rf "$builddir/usr/share/themes/Linux Mint" \
	       "$builddir"/usr/share/themes/*/cinnamon
	mkdir -p "$pkgdir"
	mv "$builddir"/usr "$pkgdir"/

	install -Dm644 "$builddir"/debian/changelog \
		       "$pkgdir"/usr/share/doc/"$pkgname"/changelog
	install -Dm644 "$builddir"/debian/copyright \
		       "$pkgdir"/usr/share/doc/"$pkgname"/copyright
}

sha512sums="
a49d5aca5d020dcc68a98992b3a90fc56ef8a1c9b47f04e9f1ae42906ba39d035954341d3d9fade196e33ffe4dc43aa8a9ff45dd8b8e3c1b08ef05e205e9c1c8  mint-themes-1.9.6.tar.gz
"
